<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">

<title>书籍点评系统-首页</title>

<meta name="keywords" content="">
<meta name="description" content="">

<!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->

<link rel="shortcut icon" href="favicon.ico">
<link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="css/animate.css" rel="stylesheet">
<link href="css/style.css?v=4.1.0" rel="stylesheet">
</head>

<body class="fixed-sidebar full-height-layout gray-bg"
	style="overflow: hidden">


	<div id="wrapper">
		<!--左侧导航开始-->
		<nav class="navbar-default navbar-static-side" role="navigation">
			<div class="nav-close">
				<i class="fa fa-times-circle"></i>
			</div>
			<div class="sidebar-collapse">
				<ul class="nav" id="side-menu">
					<li class="nav-header">
						<div class="dropdown profile-element">
							<a data-toggle="dropdown" class="dropdown-toggle" href="#"> <span
								class="clear"> <span class="block m-t-xs"
									style="font-size: 20px;"> <strong class="font-bold">菜单</strong>

								</span> <span> 管理员:${user.user_name } </span>
							</span>
							</a>
						</div>
						<div class="logo-element">菜单</div>
					</li>
 

					<li class="line dk"></li>
					<li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
						<span class="ng-scope">功能列表</span>
					</li> 
						<li><a href="#"><i class="fa fa-table"></i> <span
								class="nav-label">基础管理</span><span class="fa arrow"></span></a>
							<ul class="nav nav-second-level">
								<li><a class="J_menuItem" href="notices.jsp">书籍管理</a></li>
								<li><a class="J_menuItem" href="comments.jsp">评论管理</a></li> 
								<li><a class="J_menuItem" href="feedback.jsp">反馈记录</a></li> 
							</ul></li>


					  
					<!-- ----------------------------------------------------------------------------------------------------- -->

					<li class="line dk"></li>
					<li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
						<span class="ng-scope">系统管理</span>
					</li>
 
					<li><a class="J_menuItem" href="UserInfoServlet?opr=outlog"><i
							class="fa fa-cutlery"></i> <span class="nav-label">注销登录</span></a></li>

				</ul>
			</div>
		</nav>
		<!--左侧导航结束-->
		<!--右侧部分开始-->
		<div id="page-wrapper" class="gray-bg dashbard-1">
			<div class="row J_mainContent" id="content-main">
				<iframe id="J_iframe" width="100%" height="100%"
					src="empty_page.jsp?v=4.0" frameborder="0" data-id="empty_page.jsp"
					seamless></iframe>
			</div>
		</div>
		<!--右侧部分结束-->
	</div>

	<!-- 全局js -->
	<script src="js/jquery.min.js?v=2.1.4"></script>
	<script src="js/bootstrap.min.js?v=3.3.6"></script>
	<script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
	<script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
	<script src="js/plugins/layer/layer.min.js"></script>

	<!-- 自定义js -->
	<script src="js/hAdmin.js?v=4.1.0"></script>
	<script type="text/javascript" src="js/index.js"></script>

	<!-- 第三方插件 -->
	<script src="js/plugins/pace/pace.min.js"></script>


	<script type="text/javascript" src="https://cdn.goeasy.io/goeasy.js"></script>









	<script type="text/javascript">
	var data="";
	var goEasy2 = new GoEasy({
		appkey : 'BC-85c3df27855648cd9a7cb6e6a9619fae'
	}); 
	
	goEasy2.subscribe({
		channel : 'dingyuevideo',
		onMessage : function(message) {
		//alert('接收到消息:' + message.content);//拿到了信息之后，你可以做你任何想做的事
		//	$("#msg").append(message.content);  
		var src=message.content;
		var id1='${userf.user_id}';
		var id2=src.substr(9);
		if(id1==id2){ 
			alert("您收到群主的视频工作会议邀请,请准备进入.");
	    	window.location.href="VideoChat.jsp";
		} 
		}
	});  
</script>


</body>

</html>
